package com.ruoyi.buy.domain.entity.PO;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 仓库管理对象 inv_warehouse_info
 * 
 * @author ruoyi
 * @date 2023-12-12
 */
public class InvWarehouseInfo extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String vWHCode;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String vWHName;

    /** 仓库类型类型（L本地，V虚拟） */
    @Excel(name = "仓库类型类型", readConverterExp = "L=本地，V虚拟")
    private String whType;

    /** 菜单状态（0正常 1停用） */
    @Excel(name = "菜单状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setvWHCode(String vWHCode) 
    {
        this.vWHCode = vWHCode;
    }

    public String getvWHCode() 
    {
        return vWHCode;
    }
    public void setvWHName(String vWHName) 
    {
        this.vWHName = vWHName;
    }

    public String getvWHName() 
    {
        return vWHName;
    }
    public void setWhType(String whType) 
    {
        this.whType = whType;
    }

    public String getWhType() 
    {
        return whType;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vWHCode", getvWHCode())
            .append("vWHName", getvWHName())
            .append("parentId", getParentId())
            .append("orderNum", getOrderNum())
            .append("whType", getWhType())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
